package cn.bupt.sse309.ydl.activity;

import cn.bupt.sse309.ydl.R;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Window;
import android.widget.Button;
import android.widget.TextView;

public final class UserProtocolActivity extends Activity {

  // PullToRefreshScrollView mPullRefreshScrollView;
  // ScrollView mScrollView;

  private TextView titleTv;

  private Button backBtn;

  /** Called when the activity is first created. */
  @Override
  public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    this.requestWindowFeature(Window.FEATURE_CUSTOM_TITLE);
    this.setContentView(R.layout.activity_user_protocol);
    this.getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE, R.layout.base_title_with_back);

    this.titleTv = (TextView) this.findViewById(R.id.baseTitleId);
    this.titleTv.setText(R.string.title_user_protocol);

    this.backBtn = (Button) this.findViewById(R.id.baseBack);
    this.backBtn.setOnClickListener(new OnClickListener() {
      @Override
      public void onClick(View v) {
        // TODO Auto-generated method stub
        UserProtocolActivity.this.finish();
      }
    });

  }

}
